home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 001-025 / scopedisk8 / ptrdata / ptrdata.doc < prev    next >
Text File  |  1995-03-18  |  1KB  |  36 lines

  1.   Feb. 13 1988
  2.                          PTRDATA Vs 1.00
  3.                              
  4.    The Intuition function SetPointer() allows you to attach a custom pointer
  5. to a window by specifing the Window, Sprite, height, width, xoffset and                           
  6. yoffset.
  7.    The Preferences program allows you to design your custom pointers but it
  8. saves them as a preferences structure in the devs: directory as a file
  9. system-configuration.
  10.    This program will read the system-configuration file and then generate
  11. the C data needed to use the SetPointer function.
  12.  
  13.                               USAGE
  14.                               
  15.   ptrdata devs:system-configuration outfile                            
  16.   
  17.   'devs:system-configuration' is a file name of any preferences file built
  18.   by the WorkBench Preferences program.  
  19.   'outfile' is the new file that ptrdata will create containing the C
  20.   data. Note that if outfile exists it will be replaced.
  21.   
  22.    To use the pointer in your C program merge the file 'outfile' with your
  23. source and then after opening your window call:   
  24.  
  25.  SetPointer(MyWindow,ptrdata,PTR_HEIGHT,PTR_WIDTH,PTR_XOFFSET,PTR_YOFFSET); 
  26.  
  27.    You can return to the default pointer with:
  28.  
  29.  ClearPointer(MyWindow);
  30.  
  31.  
  32.     Donald L. Wahl
  33.     CIS 76515,1510
  34.     BIX dwahl
  35.     Plink ops492
  36.